home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
icpr20c.arc
/
STEP503.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-07-09
|
2KB
|
106 lines
; This file was created using MAKESTEP from the package ICPR20
; designed by Wayne Wolf. ICPR20 Copyright 1987
; You may modify this file in any way you wish but since the make
; files utilize the existing cmd files I discourage it. If you have
; comments or useful modifications please contact me, either at
; unix: ww@ufcsg.ufl.edu or bbs: PC-EXCHANGE at 404-977-6686.
Page1:
Clear
Message "Menu of Bulletin Boards for the 503 area."
Message "██████████████████████████████████████████████████████████████████████████████"
Locate 22,15
Message " "
Locate 0,45
Message "Mode:"
Locate 0,51
Find S7 "H"
IF Found
Message "Hayes"
ELSE
Message "Racal"
ENDIF
Locate 0,60
Message "Redial:"
Locate 0,68
Find S8 "A"
IF Found
Message "Active"
ELSE
Message "Inactive"
ENDIF
Locate 2,0
Message "D --> Disconnect and exit to area code dialer S --> Switch modes"
Message "E --> Execute ICPR20 from within Procomm R --> Toggle Redial mode "
Locate 22,0
Message "Your Choice -->"
Goto Retype1
;
Retype1:
Locate 22,15
Get S3
Switch S3
Case "E"
EndSwitch
Execute "Make.cmd"
EndCase
Case "R"
EndSwitch
Goto Activate
EndCase
Case "S"
EndSwitch
Goto Switch
EndCase
Case "M"
Clear
Message "Manual dial for area "
Locate 0,21
Message S2
Message "What number do you wish to dial --> "
Locate 1,36
Get S6
Assign S5 "Manual dialing."
Execute "Dial"
EndCase
Case "D"
Execute "Discnect"
EndCase
Default
Message " "
Message "Invalid choice, please retype"
Locate 22,15
Message " "
Goto Retype1
EndCase
EndSwitch
;
Switch:
Find S7 "R"
IF Found
Tran "I!"
Pause 2
Tran "ATZ!"
Assign S7 "H"
Rflush
ELSE
Tran "ATZ I!"
Pause 2
Tran "!"
Assign S7 "R"
Rflush
ENDIF
Pause 3
Rflush
Goto Page1
;
Activate:
Find S8 "A"
IF Found
Assign S8 "I"
ELSE
Assign S8 "A"
ENDIF
Goto Page1
;
Exit